<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>转运中心添加</title>
<link href="../inc/cskt.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="../easyui/themes/default/easyui.css" />
<link rel="stylesheet" href="../easyui/themes/icon.css"/>

<script src="../easyui/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../easyui/jquery.easyui.min.js" ></script>
<script src="../easyui/locale/easyui-lang-zh_CN.js"></script>
<script>
			$(function (){
				$('#birthday').datebox({
					'required':true,
					'missingMessage':'出生日期必须有',
					'editable':false
				});
				$('#send').datetimebox({
					'required':true,
					'missingMessage':'出生日期必须有',
					'editable':false
				});
				
				$('#city').combobox({
					'url':'city.json',
					'valueField':'id',
					'textField':'cname'
				});
				$("#btn_save").click(function (){
					$('#ff').form('submit', {
						'url':'save.do',
						onSubmit: function(){
							if($('#ff').form('validate')){
								return true;
							}else{
								$.messager.alert('提示','表单校验未通过');
								return false;
							}
						},
						success:function(data){
							var data = $.parseJSON(data);
							$.messager.alert(data.title,data.message);
						}
					});
				});
			})
		</script>
</head>

<body bgcolor="#ebebeb">
<table width="100%"  border="0" align="left" cellpadding="0" cellspacing="0" bordercolor="#E2E2E1" bgcolor="#FFFFFF">
  <tr>
    <td width="100%" valign="top">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/m_mpbg.gif">
		          <tr>
		            <td class="place">转运中心添加</td>
		            <td>&nbsp;</td>
		            <td align="right">&nbsp;</td>
		          </tr>
		</table>  
		<form id="ff"  method="POST" action="artist_artistadd.do">
			<table width="100%" border="0" cellpadding="6" cellspacing="1" bgcolor="#C0CCDD" id="content">
					<tr>
				        <td height="36"><div align="right">转运中心所在地区：</div></td>
				        <td colspan="3" class="gray">
					        <select name="select">
							  <option value="1">--省份--</option>
							  <option value="2">--部门经理--</option>
						   </select>
						    <select name="select">
							  <option value="1">--城市--</option>
							  <option value="2">--部门经理--</option>
						   </select>
				        </td>
				        <td height="36"><div align="right">具体地址信息：</div></td>
				        <td colspan="3" class="gray">
					       <input type="text" id="username" name="username" class="easyui-validatebox" required=true missingMessage='中转站具体地址必须填写' invalidMessage='地址长度在4~32个字符' validType='length[4,32]' />
				        </td>
				        
				      </tr>
				      
			         <tr>
				        <td width="12%"  height="36">
				          <div align="right">转运中心名：</div>
				        </td>
				        <td colspan="3" class="gray">
							<input type="text" id="username" name="username" class="easyui-validatebox" required=true missingMessage='中转站名必须填写' invalidMessage='中转站名长度在4~12个字符' validType='length[4,12]' />
				        </td>
				        <td width="12%"  height="36">
				          <div align="right">转运中心固定电话：</div>
				        </td>
				        <td colspan="3" class="gray">
							<input type="text" id="username" name="username" class="easyui-validatebox" required=true missingMessage='中转站名必须填写' invalidMessage='中转站名长度在4~12个字符' validType='length[4,12]' />
				        </td>
	         		</tr>
		  </table>
		 <table width="100%" border="0" cellpadding="6" cellspacing="0" bgcolor="#C0CCDD" id="content" height=500>
		      <tr>
	        <td colspan="6" valign="top"><div align="center">
	           <a href="add_city_selectmanager.jsp">下一步</a>    
	            <input type="submit"  value="下一步"  class="page"/>　
	            <br>
	            <br>
	        </div></td>
	        </tr>
	      </table>
	   </form>
    </td>

  </tr>
</table>
</body></html>
